<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
    <meta name="author" content="梅子">
    <title></title>
    <style>
        body {
            margin: 0;
        }
        
        main {
            width: 200px;
            margin: 0 auto;
            height: 650px;
            border: 1px solid deepskyblue;
        }
        
        ul {
            padding: 0;
            list-style: none;
            position: relative;
            height: 180px;
              margin: 10px auto;
            width: 180px;
            overflow: hidden;
            border: 1px solid red;
        }
        
        ul li {
            height: 180px;
            width: 360px;
            position: absolute;
            left: 0;
            display: flex;
        }
        
        h3 {
            width: 200px;
            height: 30px;
            margin: 0;
            text-align: center;
            background-color: #eee;
        }
        
        /*div {
            width: 200px;
            height: 30px;
            
            overflow: hidden;
            bottom: -30px;
            margin-top: -20px;
        }
        */
        p {
            width: 180px;
            height: 30px;
            line-height: 30px;
            text-align: center;
            background-color: pink;
            margin: 0 auto;
            
           
        }
        
        .down {
            position: absolute;
            bottom: 0px;
        }
        
        .up {
            position: absolute;
            bottom: -30px;
        }
    </style>
</head>

<body>
    <main>
        <h3>专辑</h3>
        <ul>
            <li><img src="./img/1_1.jpg" alt=""><img src="./img/1_2.jpg" alt="" class="img2"></li>
           
                <p class="down">COCOON/可可尼</p>
                <p class="up">几何为网-极致绚烂</p>
            
        </ul>

        <ul>
            <li><img src="./img/2_1.jpg" alt=""><img src="./img/2_2.jpg" alt=""></li>
          <p class="down">INSUN/恩裳</p>
          <p class="up">2013春的映象</p>
        </ul>
       
        <ul>
            <li><img src="./img/3_1.jpg" alt=""><img src="./img/3_2.jpg" alt=""></li>
            <p class="down">JNBY/江南布衣</p>
            <p  class="up">南柯梦</p>
        </ul>
        
    </main>
    <script src="jquery.js"></script>
</body>

</html>
<script>
    $('ul').hover(function () {
        $(this).find('li').stop().animate({ 'left': '-180px' }, 1000);
        $(this).find('p.down').stop().animate({ 'bottom': '-30px' }, 1000);
         $(this).find('p.up').stop().animate({ 'bottom': '0px' }, 1000);
    },function(){
        $(this).find('li').stop().animate({ 'left': '0' }, 1000);
        $(this).find('p.down').stop().animate({ 'bottom': '0px' }, 1000);
         $(this).find('p.up').stop().animate({ 'bottom': '-30px' }, 1000);
    })

</script>